﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>裸钻新增</title>
    @Html.Partial("wap/team/commonMeta")
    <link rel="stylesheet" href="~/css/wap/team/product_add.css?v=@MvcWechat.Common.Version.Get">
</head>
<body>
<div class="views">
    <div class="view view-main">
        <div class="navbar">
            <div class="navbar-inner">
                <!-- 头部start -->
                <header id="common_header">
                    <a class="menu_icon_box" href="javascript:history.go(-1);">
                        <b class="back-btn"></b>
                    </a>
                    <h2 id="page_title">裸钻新增</h2>
                </header>
                <!-- 头部end -->

                <!-- 引入菜单 -->
                @Html.Partial("wap/team/teammenu")
            </div>
        </div>
        <div class="toolbar toolbar-bottom">
            <div class="toolbar-inner form_btn">
                <a href="#" class="reset_btn" id="reset_btn">重置</a>
                <a href="#" class="submit_btn" id="submit_btn">确定</a>
            </div>
        </div>
        <div class="pages navbar-through toolbar-through">
            <div data-page="index" class="page">
                <div class="page-content" id="app_no_header">
                    <!--内容区start-->
                    <form name="diaForm" id="form_data" class="form_box" method="post" enctype='application/json'>
                        <input type="text" id="id_input" style="display: none;"/>
                        <div class="form_control category">
                            <label for="Category">主石类型：</label>
                            <div id="data_category">
                                <span data-value="0" class="active">白钻</span>
                                <span data-value="1">彩钻</span>
                            </div>
                            <input type="number" name="IsFancy" id="Category" value="0" style="display: none;"/>
                        </div>
                        <div class="form_control">
                            <label><b class="no_null">*</b>重量：</label>
                            <input type="number" placeholder="重量" name="Weight" id="form_Weight"/>
                        </div>
                        <div class="form_control" id="data_shape_box">
                            <label>形状：</label>
                            <select name="Shape" id="data_shape">
                            </select>
                        </div>
                        <div class="form_control" id="data_color_box">
                            <label>颜色：</label>
                            <select name="Color" id="data_color"></select>
                        </div>
                        <div class="form_control">
                            <label>净度：</label>
                            <select name="Clarity" id="data_clarity">
                            </select>
                        </div>
                        <div class="form_control">
                            <label>切工：</label>
                            <select name="Cut" id="data_cut"></select>
                        </div>
                        <div class="form_control">
                            <label>抛光：</label>
                            <select name="Polish" id="data_polish"></select>
                        </div>
                        <div class="form_control">
                            <label>对称：</label>
                            <select name="Symmetry" id="data_symmetry"></select>
                        </div>
                        <div class="form_control">
                            <label>荧光：</label>
                            <select name="Fluorescence" id="data_fluorescence"></select>
                        </div>
                        <div class="form_control">
                            <label><b class="no_null">*</b>证书：</label>
                            <select name="CertType" id="data_cert"></select>
                        </div>
                        <div class="form_control">
                            <label>证书号：</label>
                            <input type="text" placeholder="证书号" name="CertNo"/>
                        </div>
                        <div class="form_control">
                            <label>地点：</label>
                            <select name="Place" id="data_place">
                            </select>
                        </div>
                        <div class="form_control">
                            <label><b class="no_null">*</b>原货号：</label>
                            <input type="text" placeholder="原货号" name="OriginSN"/>
                        </div>
                        <div class="form_control">
                            <label><b class="no_null">*</b>状态：</label>
                            <select name="Status" id="data_status"></select>
                        </div>
                        <div class="form_control">
                            <label>尺寸：</label>
                            <input type="text" placeholder="尺寸" name="Measurement"/>
                        </div>
                        <div class="form_control fancy_no">
                            <label>色调：</label>
                            <select name="Hue" id="data_hue"></select>
                        </div>
                        <div class="form_control fancy_no">
                            <label>奶油：</label>
                            <select name="Milky" id="data_milky"></select>
                        </div>
                        <div class="form_control">
                            <label>心箭：</label>
                            <select name="HA" id="data_ha"></select>
                        </div>
                        <div class="form_control">
                            <label>黑点：</label>
                            <input type="text" placeholder="黑点" name="BlackDefect"/>
                        </div>
                        <div class="form_control">
                            <label>瑕疵：</label>
                            <input type="text" placeholder="瑕疵" name="OtherDefect"/>
                        </div>
                        <div class="form_control">
                            <label>肉眼：</label>
                            <select name="EyeClean" id="data_eyeClean"></select>
                        </div>
                        <div class="form_control" id="data_ReceiptStatus_box"> <!-- 付款-->
                            <label>付款：</label>
                            <select name="ReceiptStatus" id="data_ReceiptStatus">
                                <option value="">付款</option>
                            </select>
                        </div>
                        <div class="form_control"> <!-- 买入时间-->
                            <label>买入时间：</label>
                            <input type="text" name="PurchaseTime" placeholder="买入时间" readonly id="data_PurchaseTime">
                        </div>
                        <div class="form_control">
                            <label>发货时间：</label>
                            <input type="text" name="ShipTime" placeholder="选择日期" readonly id="data_ShipTime">
                        </div>
                        <div class="form_control">
                            <label>到货时间：</label>
                            <input type="text" name="ArrivalTime" placeholder="选择日期" readonly id="data_ArrivalTime">
                        </div>
                        <div class="form_control">
                            <label>台宽比：</label>
                            <input type="text" placeholder="台宽比" name="TablePct"/>
                        </div>
                        <div class="form_control">
                            <label>全深比：</label>
                            <input type="text" placeholder="全深比" name="DepthPct"/>
                        </div>
                        <div class="form_control" style="display:none">
                            <label><b class="no_null">*</b>推荐：</label>
                            <select  name="Country" id="form_Tag"></select>
                        </div>
                        <p style="text-align: center;">参数</p>
                        <div class="form_control">
                            <label>原退点：</label>
                            <input class="change_input" type="number" name="SourceDiscountReturn" placeholder="原退点" id="sourceDiscountReturn"/>
                        </div>
                        <div class="form_control CurrentUSD">
                            <label>原$：</label>
                            <input class="change_input" type="number" name="SourceDolarPerGrain" placeholder="原美金" id="sourceDolarPerGrain"/>
                        </div>
                        <div class="form_control CurrentRMB">
                            <label>原￥：</label>
                            <input class="change_input" type="number" placeholder="原￥" id="origin_rmb_price"/>
                        </div>
                        <div class="form_control CurrentUSD">
                            <label>原$/ct：</label>
                            <input class="change_input" type="number" name="SourceDolarPerCarat" placeholder="原$/ct" id="sourceDolarPerCarat"/>
                        </div>
                        <div class="form_control CurrentRMB">
                            <label>原￥/ct：</label>
                            <input class="change_input" type="number" placeholder="原￥/ct" id="origin_rmb_per_price"/>
                        </div>
                        <div class="form_control">
                            <label>采购退点：</label>
                            <input type="number" name="PurchaseDiscountReturn" placeholder="采购退点" id="purchaseDiscountReturn"/>
                        </div>
                        <div class="form_control CurrentUSD">
                            <label>采购$：</label>
                            <input type="number" name="PurchaseUSDPerGrain" placeholder="采购$" id="purchaseUSDPerGrain"/>
                        </div>
                        <div class="form_control CurrentRMB">
                            <label>采购￥：</label>
                            <input type="number" name="PurchaseRMB" placeholder="采购￥" id="purchaseRMB"/>
                        </div>
                        <div class="form_control CurrentUSD">
                            <label>采$/ct：</label>
                            <input type="number" name="PurchaseUSDPerCarat" placeholder="采购$/ct" id="purchaseUSDPerCarat"/>
                        </div>
                        <div class="form_control"><!-- exchangeRate-->
                            <label>采购汇率：</label>
                            <input type="number" name="PurchaseExchange" placeholder="采购汇率" id="purchaseExchange"/>
                        </div>
                        @{
                        if(@ViewBag.IsHideSupplier == "1"){
                            <div class="form_control">
                                <label>供应商：</label>
                                <input type="text" name="PurchaseSupplier" placeholder="采购供应商"/>
                            </div>
                            }
                        }

                        <div class="form_control">
                            <label>采购人：</label>
                            <select name="PurchaseAgent" id="purchaseAgent"></select>
                        </div>
                        <div class="form_control exchangeRate">
                            <label>汇率：</label>
                            <span id="rate" style="display: inline-block;line-height: 30px;"></span>
                        </div>
                        <div class="form_control">
                            <label><b class="no_null">*</b>上架状态：</label>
                            <label for="OnShelves" class="point_label">
                                <input type="radio" name="OnShelves" value="1" id="OnShelves" checked="checked"/>上架
                            </label>
                            <label for="OffShelves" class="point_label">
                                <input type="radio" name="OnShelves" value="0" id="OffShelves" />下架
                            </label>
                        </div>
                        <div class="form_control">
                            <label>备注：</label>
                            <textarea name="Comments"></textarea>
                        </div>
                    </form>
                </div>
                <!--</article>-->


                <!--内容区end-->

            </div>
        </div>
    </div>
</div>
</body>
</html>
@Html.Partial("wap/team/commonTeamJs")
<script>
    var list=@Html.Raw(ViewBag.PurchaseAgents);
</script>
<script src="~/Js/jquery.validate.min.js"></script>
<script src="~/Js/jquery.form.js"></script>
<script src="~/Js/wap/team/calcPrice.js?v=@MvcWechat.Common.Version.Get"></script>
<script src="~/js/wap/team/dia_form.js?v=@MvcWechat.Common.Version.Get" type="text/javascript"></script>
